package com.dao.secondary.data;
import com.model.domain.data.GetDataObdTcpLogInfoDO;
import com.model.pojo.data.DataObdTcpLogInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DataObdTcpLogInfoMapper {
    int deleteByPrimaryKey(@Param("dataObdTcpLogInfoId") Long dataObdTcpLogInfoId);

    int insert(DataObdTcpLogInfo record);

    int insertSelective(DataObdTcpLogInfo record);

    DataObdTcpLogInfo selectByPrimaryKey(@Param("dataObdTcpLogInfoId") Long dataObdTcpLogInfoId, @Param("isDelete") Byte isDelete);
    DataObdTcpLogInfo selectByDtu(@Param("dtu") String dtu);
    int updateByPrimaryKeySelective(DataObdTcpLogInfo record);

    int updateByPrimaryKey(DataObdTcpLogInfo record);

    List<DataObdTcpLogInfo> selectList(GetDataObdTcpLogInfoDO getdataObdTcpLogInfoDO);
    List<DataObdTcpLogInfo> selectErrorList(GetDataObdTcpLogInfoDO getdataObdTcpLogInfoDO);
    void insertListSelective(List<DataObdTcpLogInfo> dataObdTcpLogInfoList);

    void updateListSelective(List<DataObdTcpLogInfo> dataObdTcpLogInfoList);

    int has(@Param("dataObdTcpLogInfoId") Long dataObdTcpLogInfoId, @Param("isDelete") Byte isDelete);
}